package com.yfp.client.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 *
 * @TableName order_gift_gold
 */
@TableName(value = "order_gift_gold")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class OrderGiftGold implements Serializable {

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * order_combo表ID
     */
    private String orderId;

    /**
     * order_list表ID
     */
    private String orderListId;

    /**
     * 客户账单ID
     */
    private Long clientBillId;

    /**
     * 扣除本金
     */
    private BigDecimal money;

    /**
     * 扣除赠送金
     */
    private BigDecimal giftGold;
}